package ${model.packageFullName};

import org.springframework.cloud.openfeign.FeignClient;
import ace.cmp.openfeign.security.oauth2.core.config.FeignInternalServerOauth2SecurityConfig;
import ace.cmp.core.model.R;
import ace.module.common.api.annotation.ApiRemoteProxyPriority;
import ${model.feignApiClassFullName};
import ${model.sdkConstantClassFullName};

/**
* ${model.remark} rpc feign.
*
* @author Caspar
*/
@FeignClient(
    name = "${'$'}{${model.feignClientConfigPrefix}.${model.feignFirstLowercaseClassName}.name:" + ${model.sdkConstantFeignServicePropertyName} + "}",
    contextId = "${model.feignFirstLowercaseClassName}",
    path = ${model.className}.PATH,
    configuration = FeignInternalServerOauth2SecurityConfig.class,
    primary = false
)
@ApiRemoteProxyPriority
public interface ${model.className} extends ${model.feignApiClassName} {
    String PATH = "${'$'}{${model.feignClientConfigPrefix}.${model.feignFirstLowercaseClassName}.path:/${model.restNamespace}/${model.entityClassNameLowercaseDashName}/rpc}";
}